package com.jackiechan.day18;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class Test_Client {
    public static void main(String[] args) throws IOException {
        System.out.println("*****Hello*****");
        Socket socket = new Socket("192.168.81.1",10000);
        System.out.println("发送");
        OutputStream out = socket.getOutputStream();
        out.write("hello".getBytes());
        out.flush();
    }
}
